import { createRouter,createWebHistory } from "vue-router";
import Index from '@/views/Index.vue'
 const router = createRouter({
 history: createWebHistory(),
 routes: [
    {
        path: '/',
        redirect: '/index'
    },
    {
        path: '/index',
        name: 'Index',
        component: Index
    }
 ]
 })
 export default router